﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Com.Web.coffinegurunaru.manager.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>그핀그루나루</title>
    <link rel=StyleSheet href="/css/style.css" type=text/css />
</head>
<body>
    <form id="form1" runat="server">
<table style="width:100%; height:400px" border=0>
<tr>
<td align=center>
<table border=0 style="width:390px;">
<tr>
    <td><img src="/images/common/logo.gif" /></td>
</tr>
<tr style="height:30px;">
    <td></td>
</tr>
</table>
<table border=0 style="width:390px;">
<tr>
    <td style="width:30%;">아이디</td>
    <td style="width:70%; text-align:left;"><input type="text" id="txtLoginID" name="txtLoginID" style="width:200px" /></td>
</tr>
<tr>
    <td>비밀번호</td>
    <td style="text-align:left;"><input type="password" id="txtPWD" name="txtPWD" style="width:200px" /></td>
</tr>
</table>
<table>
<tr>
    <td><input type="button" id="btnSubmit" value="로그인" onclick="formSubmit(); return false;" /></td>
</tr>
</table>
</td>
</tr>
</table>
    </form>
<script language="javascript" type="text/javascript">
function formSubmit() 
{
	if (document.getElementById("txtLoginID").value == "") 
	{
		 alert("아이디를 넣어주세요");
		 document.getElementById("txtLoginID").focus();
		 return;
	}

	if (document.getElementById("txtPWD").value == "") 
	{
		 alert("암호를 넣어주세요");
		 document.getElementById("txtPWD").focus();
		 return;
	}
	
	<%= form1.ClientID %>.submit();
}
</script>
</body>
</html>
